Provide basic Xen PM infrastructure
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 11 Jul 2007 14:47:14 +0000 (15:47 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 11 Jul 2007 14:47:14 +0000 (15:47 +0100)
commitd8c8fef09054a87be97dc4b507509507f5ca326f
treef57d709d43df3e4ea26bf7174d8152750d5e511a
parentffc3f3c3db16cbaf2b1302037ec969fecc9e0ea0
Provide basic Xen PM infrastructure

Basic infrastructure for Xen S3 support with a common CPU
context save/restore logic for both 32bit and 64bit.

Wakeup code is split into two parts:
    - the first locates after trampoline code, to share all the
      tricks on the latter, like relocation base and identy mapping
    - the 2nd part locates in xen code segment, to do the actual
      CPU context restore

Signed-off-by Ke Yu <ke.yu@intel.com>
Signed-off-by Kevin Tian <kevin.tian@intel.com>
12 files changed:
xen/arch/x86/acpi/Makefile
xen/arch/x86/acpi/power.c [new file with mode: 0644]
xen/arch/x86/acpi/suspend.c [new file with mode: 0644]
xen/arch/x86/acpi/wakeup_prot.S [new file with mode: 0644]
xen/arch/x86/boot/Makefile
xen/arch/x86/boot/head.S
xen/arch/x86/boot/wakeup.S [new file with mode: 0644]
xen/arch/x86/dmi_scan.c
xen/arch/x86/platform_hypercall.c
xen/include/asm-x86/acpi.h
xen/include/asm-x86/config.h
xen/include/public/platform.h